package com.wehaicao.wehaicaoshardingjdbc.test.entity;


import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Entity
@Table(name="student")
@Data
public class Student implements Serializable {

    @Id
    private String id ;
    @Column(name="name")
    private String name ;
    @Column(name="age")
    private Integer age;

}
